home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
ezzcomm.zip
/
SMLNET.T
< prev
next >
Wrap
Text File
|
1991-02-16
|
3KB
|
66 lines
: EZ-ZCOMM Copyright 1991 by Roger E. Hough, All Rights Reserved.
: Licensed for use at your own risk without fee. Altered versions,
: when distributed, must be clearly marked as altered and accompanied
: by the originals.
:
: Entry in %ZCUSER.ids for SMLNET: remote/SMLNET,area,area,...
: remote: argument of "call" command
: SMLNET required
: area number of file area to download
p?0 findq "\n%remote/smlnet," %lib/%ZCUSER.ids
if ? split z0 , "";sets s4 %z1
else set s3 0;set s4 All
nextnet:
pat
pat 0 "Type in +,-,#,?, or Name -> "
pat 1 "ontinue ]]]"
pat 2 "Q to Quit ]]]"
wait -f180;if n bye;ife r nolog close;return
if !0 sleep 10;mput \b\b\b\b\b\b\b\b\r;goback nextnet
pat;mput \b\b\b\b\b\b\b\b
loopnet:
if !%s4 set s3 \b\b\b\bQ
else if is4,All setn s3 s3+1
else split s4 , "";sets s3 %z0;sets s4 %z1
if %s3==1 sets s3 "0%s3"
mput %s3\r
checkconf:
pat
pat 0 "Do you wish to continue"
pat 1l "new conference messages : "
pat 2 "\nType -> "
pat 3 "ontinue ]]]"
wait -f45;if n bye;ife r nolog close;return
if 2 goto donenet
if 1 goto newmsgs
if !0 sleep 10;mput \b\b\b\b\b\b\b\b\r;goback checkconf
if !f%n8/%remote%s3.* pat;mput \b\b\b\b\b\b\b\bn\r;goback nextnet
pat;mput \b\b\b\b\b\b\b\by\r;pat 0 "\nType -> "
wait -f45;if n bye;ife r nolog close;return
set s1 n;expand %lib/smlmail.t %n8/%remote%s3.*
ife is1,y goto extract;else goto skipnet
newmsgs:
pat;pat 0 "\nType -> "
pat 1 "ontinue ]]]"
wait -f45;if n bye;ife r nolog close;return
if !0 sleep 10;mput \b\b\b\b\b\b\b\b\r;goback newmsgs
if f%n8/%remote%s3.* expand %lib/smlmail.t %n8/%remote%s3.*
extract:
pat;mput "\b\b\b\b\b\b\b\bx \r";
pat 0 "\nType -> ";wait -f180;if n bye;ife r nolog close;return
pat;mput "\b\b\b\b\b\b\b\b\b\b\bd z z\r";pat 0l "\nSending"
wait -f420;if n bye;ife r nolog close;return
ife r w;ena -!Z;pat;pat 0i "rz\r**\030";wait -F15;if !c bye;ife r nolog close;return
sets s2 %plog;if %plog setc plog "%n9/%remote\&xf.log"
sets s1 %dirrx;sets dirrx "%tmp/";rz -ym %remote%s3.zip;sets dirrx %s1
sets plog %s2;pat;pat 0 ") your Extract File ("
wait -f180;if n bye;ife r nolog close;return
obey "!~PKUNZIP -c %tmp/%remote%s3.zip *.TXT |SML2LOG %n9/%remote%s3.log"
del %tmp/%remote%s3.zip
pat;mput \b\b\b\b\b\b\b\b\b\b\by\r;pat 0 "\nType -> "
wait -f45;if n bye;ife r nolog close;return
skipnet:
pat;mput "\b\b\b\b\b\b\b\bj ";goback loopnet
donenet:
pat;mput \b\b\b\b\b\b\b\bg\r;return